Quiz Yourself: Using Flux with Helm
Quiz yourself on the skills required to manage Helm charts with Flux.
Chapter quiz
What is the purpose of the --values flag in the following command when creating a HelmRelease using the Flux CLI?
flux create helmrelease helm-release \
--interval=1m \
--source=GitRepository/helm-git-source \
--chart=./infrastructure/python-sample \
--target-namespace=default \
--values=/usercode/system/infrastructure/python-sample/version2-values.yaml \
--export > ./educative-cluster/python-sample-helm-release.yaml
It specifies the location of a values file on the local workstation that contains values which will be overridden in the Helm chart when applied by Flux to the cluster.
Correct. This will cause field values from the specified file to be appended to the declarative configuration of the HelmRelease.
It specifies the location of a values file within the GitRepository. This file contains values that will be overridden in the Helm chart when applied by Flux to the cluster.
Try again. The values file will not be referenced by Flux when running in the cluster.
It specifies the location of a values file within a HelmRepository. The file contains values that will be overridden in the Helm chart when applied by Flux to the cluster.
Try again. In this example we are using a GitRepository instead of a HelmRepository.
It specifies the namespace where the Helm chart will be installed on the cluster.
Try again. This is not the purpose of this flag.
Delivering Applications with Helm and Flux
Introduction to Flagger